class LbwToro{
    wuQi:string;
    shaDi:any
    constructor(w:string,s:any) {
        this.wuQi=w;
        this.shaDi=s;
    }
    kaiGua():void{
/*        while (this.shaDi<=0){
            console.log(this.wuQi);
            this.shaDi=this.shaDi-1;
        }*/

        for(let i=0;i<=parseInt(this.shaDi);i++){
            console.log(this.wuQi);
        }
    }
}

var lbw=new LbwToro('SKS',29)
lbw.kaiGua()
